package multithreading.homework.Money;
public class Atm {
    public static void main(String[] args) throws InterruptedException {
        User a = new User(100000,"卡号");
    Thread A= new Text(a,"小明");
    A.start();
    A.join();
    Thread B=new Text(a,"小红");
    B.start();
    B.join();
    }
}
